/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

const systemsRouter = {
  path: '/system',
  component: Layout,
  redirect: 'noRedirect',
  name: 'system',
  meta: {
    title: '系统管理',
    icon: 'setting'
  },
  children: [
    {
      path: 'banner',
      component: () => import('@/views/systems/banner'),
      name: 'BannerSystem',
      meta: { title: '头条管理', noCache: true }
    },
    {
      path: 'classification',
      component: () => import('@/views/systems/classification'),
      name: 'ClassificationSystem',
      meta: { title: '分类管理', noCache: true }
    }
  ]
}

export default systemsRouter
